package com.bwie.controller;

import com.bwie.service.DouAreaService;
import com.bwie.service.TUserService;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @Description
 * @Author 36167
 * @Date 2025/3/13 18:54
 **/

@RestController
@RequestMapping("/xty")
public class XtyController {

    @Autowired
    private TUserService tUserService;

    @Autowired
    private DouAreaService douAreaService;


    @GetMapping("/list")
    public R show(){
        return tUserService.show();
    }

    @GetMapping("/area")
    public R areashow(){
        return douAreaService.areashow();
    }
}
